Skip to content

HDDS-15677. Update client side version checks to use isSupportedBy.#10611

Open
errose28 wants to merge 4 commits into
apache:HDDS-14496-zdufrom
errose28:om-version-client-cleanup
Open

HDDS-15677. Update client side version checks to use isSupportedBy.#10611
errose28 wants to merge 4 commits into
apache:HDDS-14496-zdufrom
errose28:om-version-client-cleanup

Conversation

@errose28

@errose28 errose28 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Replace client side version comparison that was previously using compareTo with the new and more readable isSupportedBy. No functional change is expected. compareTo cannot be removed since it is built into the enum, and it provides correct results so there is no harm other than readability.

What is the link to the Apache JIRA

HDDS-15677

How was this patch tested?

New coverage was added for the client side version parsing which was previously missing. These tests were generated by Claude Code and reviewed by me.

Green run on my fork

@errose28 errose28 added the zdu Pull requests for Zero Downtime Upgrade (ZDU) https://issues.apache.org/jira/browse/HDDS-14496 label Jun 25, 2026
@errose28 errose28 requested review from dombizita and sodonnel June 25, 2026 21:31
@errose28 errose28 marked this pull request as ready for review June 26, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

zdu Pull requests for Zero Downtime Upgrade (ZDU) https://issues.apache.org/jira/browse/HDDS-14496

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant